package gsw.common.ndk;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import gsw.common.R;

public class ActivityNDK extends AppCompatActivity {

    TextView showResult;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_ndk);
        showResult = findViewById(R.id.showResult);
    }

    public void getResult(View view) {
        String packageName = NativeHelper.getPackname(this);
        showResult.setText(packageName);
    }
}
